package com.hefei.api.customer.manager;

import java.util.List;

import com.hefei.api.customer.vo.Contact;
import com.hefei.api.customer.vo.Customer;
import com.hefei.common.exception.ClientException;


public interface ICustomerManager {
	
	public String saveCustomerInfo(Customer customer)throws ClientException;
	
	public String editCustomerInfo(Customer customer)throws ClientException;
	
	public String deleteCustomerInfo(int customerId)throws ClientException;
	
	public Customer getCustomerById(int id)throws ClientException;
	
	public Customer getCustoemrByName(String name)throws ClientException;
	
	public List<Contact> getContactById(int customerId)throws ClientException;
	
	public Long getDatagridTotal(Customer customer)throws ClientException;

}
